<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Admin Control Panel</title>

<link rel="stylesheet" href="<?php echo base_url(); ?>public/styles/admin_style.css" type="text/css" />
<script src="<?php echo base_url(); ?>public/scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
<script>
var timeout=500;
var closetimer= 0;



var subitem= 0;



function menu_open()



{ CancelTimer();



menu_close()



	subitem=$(this).find('ul').css('visibility','visible');



	



	}



function menu_close()



{



	if(subitem) subitem.css('visibility','hidden');







		



	}



function setTimer()



{



	 closetimer = window.setTimeout(menu_close, timeout);











	



	}	



	function CancelTimer()



	{



		if(closetimer)



		{



			window.clearTimeout(closetimer);



			closetimer=null;



			}



		}



		$(document).ready(function() {



            $('#menu > li').bind('mouseover',menu_open)



			$('#menu > li').bind('mouseout',setTimer)



        });



		document.onclick=menu_close;



</script>




</script>
</head>
<body>
<?php 
$this->load->view('layouts_admin/header'); 
 ?>
<div id="main_content">
<?php
$this->load->view($show);
?>
</div>

<?php $this->load->view('layouts_admin/footer'); ?>

</body>